package main

import (
	"fmt"
)

var (
	greenBg      = string([]byte{27, 91, 57, 55, 59, 52, 50, 109})
	whiteBg      = string([]byte{27, 91, 57, 48, 59, 52, 55, 109})
	yellowBg     = string([]byte{27, 91, 57, 48, 59, 52, 51, 109})
	redBg        = string([]byte{27, 91, 57, 55, 59, 52, 49, 109})
	blueBg       = string([]byte{27, 91, 57, 55, 59, 52, 52, 109})
	magentaBg    = string([]byte{27, 91, 57, 55, 59, 52, 53, 109})
	cyanBg       = string([]byte{27, 91, 57, 55, 59, 52, 54, 109})
	green        = string([]byte{27, 91, 51, 50, 109})
	white        = string([]byte{27, 91, 51, 55, 109})
	yellow       = string([]byte{27, 91, 51, 51, 109})
	red          = string([]byte{27, 91, 51, 49, 109})
	blue         = string([]byte{27, 91, 51, 52, 109})
	magenta      = string([]byte{27, 91, 51, 53, 109})
	cyan         = string([]byte{27, 91, 51, 54, 109})
	reset        = string([]byte{27, 91, 48, 109})
	disableColor = false
)

func main() {
	str := "hello world"
	fmt.Println(greenBg, str, reset)
	fmt.Println(whiteBg, str, reset)
	fmt.Println(yellowBg, str, reset)
	fmt.Println(redBg, str, reset)
	fmt.Println(blueBg, str, reset)
	fmt.Println(magentaBg, str, reset)
	fmt.Println(cyanBg, str, reset)
	word := "I love you"
	fmt.Println(green, word, reset)
	fmt.Println(white, word, reset)
	fmt.Println(yellow, word, reset)
	fmt.Println(red, word, reset)
	fmt.Println(blue, word, reset)
	fmt.Println(magenta, word, reset)
	fmt.Println(cyan, word, reset)
}
